package at.jaki.ubb.crawling.demo.model;

public class UrlWithCount implements Comparable<UrlWithCount> {

	private String url;
	private Integer count;

	public final String getUrl() {
		return url;
	}

	public final void setUrl(String url) {
		this.url = url;
	}

	public final Integer getCount() {
		return count;
	}

	public final void setCount(Integer count) {
		this.count = count;
	}

	public int compareTo(UrlWithCount o) {
		return count.compareTo(o.count);
	}

}
